SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af7ccfbdadc0b841ff355dc89ae96f5d315170d43c861beca4cd80ffe3696677' 
  AND token = '4oMXy4K6oR1tb6FwQ1ZPdW3yen7Kpp3YwEebesiHfH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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