SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ab5062b75de59a18a3089cd6262b5270f273998779336f7c4538d99b1e61bb6' 
  AND token = 'It7mDxa2OTlKkM8TSStu0HzlzxvmgH9RB5SUvpiWWvc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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