SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5ab27f020767325ac952d67212cdde09c5bf0271628448d0163a77f627fd787' 
  AND token = 'qiqIu7VhF6UnswtjSdfqvT/Fj/J7EeoJoTA/BadI3V8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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