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

Query time 0.00041

JSON explain

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