SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '11b8c7abd256afbccabbc42fd46d15c352d90814a6626d4ae82daac0f3ea70f7' 
  AND token = 'lklpQkBH2VVAIbDF3xy8UmD9R439XsMmq6P7qsGvuJY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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