SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c12fb48edd30e2409f7f8c1343acb5d7e04b51db4c34b37f2b7415c47aa61476' 
  AND token = 'HZbf2stpViBc0CakZMibGSVaCy6fpmGWy98B2uhip40=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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