SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42f9ac5647fb5a86998ed6a86414d2395aea4ae1d3c8840f5b19dfe3a1d7968b' 
  AND token = 'XddXqVjMtZX7OZb/Iv0mpkNyS6pThjXKRBR7ss3mkII=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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