SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5515970c715cfd4a768eb160896172aa75cc6df177111b8ad4e55cf6c964e7a' 
  AND token = 'L5PkKMuRNFuA4IM8gusL871Kv9EECv+wTntyNcWQkpg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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