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

Query time 0.00019

JSON explain

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