SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '248452bc021b018eaccd5f583302538ecb3c425de6c60bff9ab0462087caf643' 
  AND token = 'jtlGZME3Yi2bUM9YbyyWKpCldohtApQmWssIyguHJ58=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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