SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '06edbd3e4329f18a153e2c33aaf5f83715636780e9b0e72311d39e394d48812a' 
  AND token = 'ZnHuukv2RXHPNrli7Kw0Xwk1pbSL9otjir9brJdgBMg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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