SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c50ac098428ec570ba67b8e46ea981d8b42b81f462152a68f3acb31b14bc4952' 
  AND token = 'K/+eyIMNTGNb5ncD9iuGz/QEmXNNKPSlUEpRiaIvpJE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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