SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e17e861fb5c7ceca0eaf015984350712dad57352434899f74c03c4a02c076335' 
  AND token = 'YKVrg6u5GZJppbGJyB/oEHODRs7rP+0RwsnNVBGotQc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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