SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ee48a9ef3e976643b33a4432dec6c3de0f9dbac76e025396ec4a79a8d325737' 
  AND token = 'Qgqf5XxSgt2ydfDPHy04Ep3bgBsq6JIb1nTM9BOQeWE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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