SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d652b92934f54d6a66d36ad115a2a31ce151bdc22609556e653b28622faf902' 
  AND token = 'oCSzUkf/xr47XZmcJamv1iJCzO873WAflg0YuHA8UTE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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