SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8eee545de76ede0cf55271488547d048e0c194f4fc01548a68f2699f223d77a' 
  AND token = 'bdgnpcUBj/9d2JWTD1/Lm8Dey9q4OXsskcz5Y8ZI+BQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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