SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99719666399c7788cfecec211e7c6681bd66369592ac8709784dc2334982c9bc' 
  AND token = 'HTrWOnSGkPfXqK6AgFyH3behl1MRKcKPO1D9nGCFnvk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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