SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3717ce3ec4e26ad4db8d4bc03285a62d8c9334e1e96aa5af3af85588d6057c4f' 
  AND token = 'g9fXymhSEvbnc/5SDva5aIFFJWSvbFx8VF6pQcWnbNI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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