SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07acc940963777e7f4cd86161a40805db1d46912c910a1ec6b57de62d8a63c18' 
  AND token = 'P/2oDYLMk11PSVB95i83RtJtiio1lnLV4vcH10GoT5I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00072

JSON explain

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