SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77bd0510637a580058f5c7043289b17c2fbf7e9cc7788b46230afa1d419dc3c8' 
  AND token = 'PJa0+K/kAlK360R0WdBQcw6eGAIjo+lEheQW39oREHw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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