SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '017657d8feb52f44b54a250c2539a24f52868eb65c2c8db98835c776dae9bb14' 
  AND token = '2635hjcuCdvdtvBfyjomNJQ3rbotGhE4l9dfqEMydR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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