SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'adfa2ffe944dbf1aa822e2576aa8ec64f3fd420ba6f754c97a065e5798ab1fb3' 
  AND token = 'YBA5UInfb5EHL4xswAw2FCQVGJ3ZAHw1uGZs0LFzsYI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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