SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '417f2b9d2a41be016bd0fa475615f9673486dda8c3a169a14974763023963038' 
  AND token = 'eS/rAIk7TcJLmaL+zJuhxOlseiwYrq0NO4y5Iy914wE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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