SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef8337da80a261d5f623c77572713ab061ff7349f51150e00bada3f3b7a6b06b' 
  AND token = '1KDusiMPFhXMG5nnMDUSyX82QAPQymyIf7hHe6uITF4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}