SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e35aac1e38854060ae4f0f4ebff620984bf246116e05e45a8c08bf2f1c59a21b' 
  AND token = 'NKZKgYj7gcNUFsi/Qs/Zhtd/qs9txRd0pdg+ZaEVV0I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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