SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f74a3bf8398a47d607d22426efcf15eadb0f25928bfa5d5a8754eb7f064dac0a' 
  AND token = 'Zd+tVE0/EcUZmLjPB6cp9n+OeYB0PdcRuyCoPR9z8dI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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