SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c285ac04996d725007e69659b4cdf317b7b271d52b681f9c65f957a785c4ad50' 
  AND token = '58JdYeFYkBEImAHDHGKldwhD43TSFoVGY0Vtc3QCajQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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