SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a87e16068b52b141bc9d73baebfd4482260242132f3f9244761fad7c172a8e2b' 
  AND token = '5CYBf43uWMXUIL1tKwMezAMXQ/hMqt3Gp50V3v12Ftg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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