SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9417db7d74245623c1a77aef107925af805eae1782a477c0befbba4429354390' 
  AND token = 'WXdy130IadYefWCF1WI8DQW4/5unV2atldkY0tIUYbk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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