SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23ccbc4440eab10a9ec35abf51f10e09eb71874658a4e4784162768291f94616' 
  AND token = 'T0UpSIgirmPHpuXQODxxmlj/Ailg2kauLjILXqpuJyI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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