SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd2ed3c20dc301f2e211fe1b006344bb106251372d6ecd71288c145f3b9638b0' 
  AND token = 'w7cWSs/jmCLYORiuNkE2akiHVHqKuKSxWsErMXRZgv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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