SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce1b1adca4c2a1c9a30715bee91c37bd0feb55a1edd1f4fbc4bc3e2f437b29cd' 
  AND token = 'G/bHv2LyWccwjuBBunf1rTdDTK1Q4pncNbDNZ88iBes=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}